
import request from "@/utils/request"

//货物出仓#权限标识：zhcloud:hwcc:list
export function getWarehouseOutList(data:any, params:any) {
    return request({
        url: '/storage/hwcc/list',
        method: 'post',
        data: data,
        params:params
    })
}

//货物出仓现场出仓添加
export function setWarehouseOut(data:any) {
    return request({
      url: `/storage/hwcc/add`,
      method: 'post',
      data: data,
    })
  }
  
//货物出仓->详细
export function getWarehouseOutDetailList(data:any) {
    return request({
      url: `/storage/hwcc/detail/${data.dzid}`,
      method: 'post',
      data: data
    })
}

//货物出仓->现场出仓->选择库存
export function getWarehouseOutStock1(data:any, params:any) {
    return request({
        url: '/storage/hwcc/selectStock1',
        method: 'post',
        data: data,
        params:params
    })
}

//锁仓线->刷新
export function getWarehouseOutRefresh(data:any) {
  return request({
      url: `/storage/hqzy/refresh/${data.khid}`,
      method: 'post',
      data: data
  })
}

//货物出仓->详细->客户
export function getCustomer(data:any, params:any) {
  return request({
      url: '/storage/hwcc/selectCustomer',
      method: 'post',
      data: data,
      params:params
  })
}

//货物出仓->绑定单据详细
export function getStorageOutBindingDetail(data:any) {
  return request({
      url: `/storage/wx/o/selectHwccRoDetail/${data.dzid}`,
      method: 'post',
      data: data
  })
}

  